home *** CD-ROM | disk | FTP | other *** search
/ HaCKeRz Kr0nlcKLeZ 1 / HaCKeRz Kr0nlcKLeZ.iso / chibacity / normanav.exe / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-06-18  |  1.3 KB  |  57 lines

  1. @echo off
  2. rem Start virus scanning with Norman Virus Control...
  3. nvc /ald /cl /y /lfc:\nvc.rpt /o /sn
  4. if errorlevel 9 goto error9
  5. if errorlevel 8 goto error8
  6. if errorlevel 7 goto error7
  7. if errorlevel 6 goto error6
  8. if errorlevel 5 goto error5
  9. if errorlevel 4 goto error4
  10. if errorlevel 3 goto error3
  11. if errorlevel 2 goto error2
  12. if errorlevel 1 goto error1
  13. echo Your machine is virus-free!
  14. goto continue
  15. :error9
  16. echo Something has interrupted your scan!
  17. goto notinstalled
  18. :error8
  19. echo Scanner system error!
  20. goto notinstalled
  21. :error7
  22. echo Not enough memory to run NVC.EXE!
  23. goto notinstalled
  24. :error6
  25. echo Cannot read your drive!
  26. goto notinstalled
  27. :error5
  28. rem this means scanning criteria were not valid
  29. goto continue
  30. :error4
  31. rem this is an unused error trap
  32. goto continue
  33. :error3
  34. rem this means scanning criteria were not provided.
  35. rem but they were!
  36. goto continue
  37. :error2
  38. echo A virus was detected in your computer's memory!
  39. echo Please turn the computer off, boot with a clean UNINFECTED disk,
  40. echo and repeat this installation.
  41. :hang
  42. goto hang
  43. :error1
  44. echo A virus was found in your boot area or one of your files.
  45. pause
  46. type c:\nvc.rpt
  47. pause
  48. goto continue
  49. :notinstalled
  50. echo Norman Armour was not installed.
  51. goto done
  52. :continue
  53. nvcinst
  54. pause
  55. cls
  56. :done
  57.